#!/bin/bash

echo "Adding <Collide> entries to $1..."
cat $1 | sed 's/^\(<Group>[^{]*{\)/\1\
  <Collide> { Polyset keep descend }/' > $1.temp
mv $1 $1.old
mv $1.temp $1
dos2unix $1

